const getTimeStr = (timeStamp: number) => {
  const time = new Date(timeStamp)
  const hour = time.getHours()
  return `${time.getFullYear()}/${time.getMonth() + 1}/${time.getDate()} ${
    hour > 12 ? '上午' : '下午'
  }${time.getHours()}:${time.getMinutes()}:${time.getSeconds()}`
}

const store_name = 'token'
// const base_url = 'http://localhost:5000'
const base_url = 'http://81.68.126.193:5000'
export { getTimeStr, store_name, base_url }
